<div class="modal-body">
    <div class="container-fluid form-horizontal ">
      <div class="panel panel-info form-horizontal">
		<div class="panel-heading ">
			公告编辑
		</div>
		<div class="panel-body">
			<div class="container-fluid">
				<div class="  wrapper-md ng-scope" style="text-align: center">
     <h1 class="m-n font-thin h3 ng-binding">公告编辑</h1>
</div>
<!--<div class="container-fluid form-horizontal ">-->
<!--<div class="modal-body">-->
    	<!--<div class="panel panel-info form-horizontal">-->
<div class="col-sm-12" style="padding:10px">
    <div class="col-sm-4"></div>
    <div class="col-sm-4">
        <input type="text" class="form-control" ng-model="a.guide_name" placeholder="公告名称" > 
    </div>
    <div class="col-sm-4"></div>  
</div>

<div class="col-sm-12" style="padding:10px">
    <div class="col-sm-4"></div>
    <div class="col-sm-4">
        <input type="text" class="form-control" ng-model="a.guide_type" placeholder="公告类型" > 
    </div>
    <div class="col-sm-4"></div>  
</div>

 <div class="col-sm-12" style="padding:10px">
    <div class="col-sm-4"></div>
    <div class="col-sm-4">
        <button class="btn m-b-xs w-sm btn-info" ng-click="image()">
            <i class="fa fa-file-image-o"></i> 添加图片
        </button> 
    </div>
    <div class="col-sm-4"></div>  
</div>

        
 <div class="col-sm-12" style="padding:10px" ng-repeat="item in imagearr">           
            <div class="col-sm-4" >         
             </div> 
            <div class="col-sm-4">
                <img ng-src="{{item}}" width="100%" height="100"  ng-show="item.lastIndexOf('.pdf')=='-1'">
                <a href= "{{item}}" target="_Blank" ng-show="item.lastIndexOf('.pdf')!='-1'">{{item}}</a>
                <a type = 'button' class="btn-xs m-b-xs w-sm btn-danger" ng-click="del($index)">删除</a>	
            </div> 
        </div>       
<div class="col-sm-12" style="padding:20px">
    <div class="col-sm-4"></div>
    <div class="col-sm-4">
        <button class="btn btn-success " ng-click="submit()">提交</button>
    </div>
    <div class="col-sm-4"></div>  
</div>